<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>${session.SOFT_NAME }_智能办公系统</title>
<meta name="description" content="Dashboard" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%include("../../../resapi/style.html"){}%>
<link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet" />
<link href="/module/jeDate/jedate.css" rel="stylesheet" />
</head>
<body style="overflow-y: auto;">
	<div class="page-body" style="padding: 0px">
	<div id="xpluging"></div>
		<div class="col-md-12 col-sm-12 col-xs-12 widget-body">
			<div class="row" style="padding-bottom: 5px;">
				<div style="display: inline-block; float: left; padding-left: 20px;" class="col-md-4">
					<a href="javascript:void(0);" class="btn btn-blue shiny js-javascript">js脚本</a> <a href="javascript:void(0);" class="btn btn-maroon shiny js-style">style脚本</a>
				</div>
				<div style="text-align: center;" class="col-md-4">
					<span style="font-size: 16px; font-weight: 600; line-height: 34px;" id="formName"></span>
				</div>
				<div style="display: inline-block; float: right; text-align: right; padding-right: 20px;" class="col-md-4">
					<a href="javascript:void(0);" class="btn btn-palegreen js-version">记录版本</a> <a href="javascript:void(0);" class="btn btn-darkorange shiny js-template">页面预览</a> <a href="javascript:void(0);"
						class="btn btn-purple shiny">页面导入<input id="file" name="file" type="file" onchange="importBpmForm();" hidefocus="true" size="1" class="addfile" accept=".html"></a> <a
						href="javascript:void(0);" class="btn btn-sky saveform" style="margin-left: 10px;">保存页面</a>
				</div>
			</div>
			<div class="row">
				<div class="col-md-10 col-sm-10 col-xs-12" style="padding: 0px;">
					<div id="editor1" name="editor1"></div>
				</div>
				<div class="col-md-2 col-sm-2 col-xs-12">
					<div class="widget-header bg-blueberry">
						<span class="widget-caption">页面元素</span>
						<div class="widget-buttons"></div>
						<!--Widget Buttons-->
					</div>
					<!--Widget Header-->
					<div class="widget-body" style="padding: 0px;">
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xinput"><i class="glyphicon glyphicon-minus"></i> 单行文本 &lt;input/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xtextarea"><i class="glyphicon glyphicon-align-center"></i> 多行文本&lt;textarea/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xselect"><i class="glyphicon glyphicon-chevron-down"></i> 下拉列表&lt;select/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xtextuedit"><i class="glyphicon glyphicon-edit"></i>富文本&lt;ueditor/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xradio"><i class="glyphicon glyphicon-record"></i>单选按钮&lt;radio/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xcheckbox"><i class="glyphicon glyphicon-check"></i>多选按钮&lt;checkbox/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xlist"><i class="glyphicon glyphicon-list-alt"></i>列表组件&lt;table/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xmacro"><i class="glyphicon glyphicon-star"></i>宏控件&lt;macro/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xfetch"><i class="glyphicon glyphicon-wrench"></i>选择控件&lt;fetch/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xsql"><i class="glyphicon glyphicon-flash"></i>SQL控件&lt;sql/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xsqlselect"><i class="glyphicon glyphicon-flash"></i>SQL下拉框&lt;sql/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xiframe"><i class="glyphicon glyphicon-globe"></i>嵌套窗体&lt;iframe/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xupload"><i class="glyphicon glyphicon-paperclip"></i>文件上传&lt;file/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xbarcode"><i class="glyphicon glyphicon-barcode"></i>条行码&lt;img/&gt;</a>
					<a class="btn btn-default shiny js-plugins" style="width:100%" href="#" xtype="xqrcode"><i class="glyphicon glyphicon-qrcode"></i>二维码&lt;img/&gt;</a>
					
					
					
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<div id="formstyle" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myLargeModalLabel">页面样式</h4>
                </div>
                <div class="modal-body">
                    <textarea rows="10" cols="" class="form-control" id="styletextarea"></textarea>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">消取</button>
                    <button type="button" class="btn btn-primary js-stylesave">保存</button>
               </div>
            </div>
        </div>
    </div>
	
	<div id="formjavascript" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" style="display: none;">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myLargeModalLabel">页面JS脚本</h4>
                </div>
                <div class="modal-body">
                    <textarea rows="10" cols="" class="form-control" id="jstextarea"></textarea>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">消取</button>
                    <button type="button" class="btn btn-primary js-javascriptsave">保存</button>
               </div>
            </div>
        </div>
    </div>
</body>
<%include("../../../resapi/sysjs.html"){}%>
<script type="text/javascript">
var pageId = "${parameter.pageId}";
</script>
<script type="text/javascript" src="/module/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/module/ueditor/ueditor.all.js"></script>
<script type="text/javascript" src="/module/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="/module/ueditor/formdesign/paltformpageplugins.js"></script>
<script type="text/javascript" src="/module/ueditor/formdesign/platformpagetemplate.js"></script>
<script type="text/javascript" src="/gobal/js/page/platform/form/pagedesig.js"></script>
</html>